<!--
    * Time    : 2021-03-12 14:18:31
    * Author  : zhangTj
    * Desc    : 富文本组件
-->

<template>
    <div class="p-15p">
        <div class="rich_class">
            <div class="text-wrap" v-html="value.content"></div>
        </div>
    </div>
</template>

<script>
export default {
    name: 'RichText',
    props: {
        index: {
            type: Number | String,
            default: 0
        },
        value: Object
    },
    data() {
        return {}
    }
}
</script>

<style>
.rich_class img {
    width: 100% !important;
}
.rich_class {
    font-size: 14px !important;
}
</style>
